package com.campus.delivery.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 配送员用户信息更新入参
 */
@Data
@ApiModel("配送员用户信息更新Bean")
public class DeliveryUserUpdateBean {
    @ApiModelProperty(value = "配送员ID", required = true)
    @NotNull(message = "配送员用户ID不能为空")
    private Integer id;

    @ApiModelProperty(value = "昵称", required = true)
    private String nickname;

    @ApiModelProperty(value = "头像", required = true)
    private String avatar;
}